package com.sunyur.tailor.channel.service.inner.org.service;

import com.sunyur.tailor.channel.common.middle.base.ChannelResult;
import com.sunyur.tailor.channel.service.inner.org.model.UpstreamOrgModel;
import com.sunyur.tailor.channel.service.inner.org.param.OrgSyncInfoParam;
import com.sunyur.tailor.channel.service.inner.org.param.UpstreamOrgParam;

import java.util.List;

/**
 *
 * @Author 99288
 * @Description 组织接口
**/
public interface SunyurOrgService {

    /**
     * 将组织同步给商越
     * @return
     */
    ChannelResult syncOrgList(List<OrgSyncInfoParam> orgSyncInfoParamList);


    /***
     * @Author pengbing
     * @Description //获取组织
     * @Date 10:35 2022/7/18
     * @Param [upstreamOrgParam]
     * @return com.sunyur.tailor.channel.common.middle.base.ChannelResult<UpstreamOrgModel>
     **/
    ChannelResult<UpstreamOrgModel> getUpstreamOrg(UpstreamOrgParam upstreamOrgParam);
}
